package yf.mall.vo.web;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import yf.mall.vo.ItemVo;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommitGoodsVO extends ItemVo {

    private String name;

    private String img;

    private BigDecimal price;

    private BigDecimal oldPrice;

    private Long goodsId;

    private Integer quantity;

    private String skuName;

    //库存
    private Integer stock;

    //重量
    private BigDecimal weight;

    //优惠券
    private BigDecimal coupon;

    //现金券
    private BigDecimal cash;


    //限制信息
    //是否下架
    private Integer shelf;

//    //是否限制团队 TODO
//    private String teamCode;
//
//    //是否限制级别 TODO
//    private Long levelId;

    //不可购买级别
    private String levelName;

    //是否转货
    private Integer transfer;

    //是否发货
    private Integer delivery;

    //限制支付
    private Integer limitPayWay;


}
